package com.woniuxy.orderassembly.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 服务订单详情表
 * </p>
 *
 * @author yang
 * @since 2021-09-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_service_order_detail")
public class ServiceOrderDetail implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 服务订单详情表Id
     */
    @TableId(value = "service_order_detail_id", type = IdType.AUTO)
    private Integer serviceOrderDetailId;

    /**
     * 用户id
     */
    private Integer serviceOrderDetailUserId;

    /**
     * 服务订单id
     */
    private Integer serviceOrderDetailServiceOrderId;

    /**
     * 二级服务id
     */
    private Integer serviceOrderDetailSecondServiceId;

    /**
     * 服务数量
     */
    private Integer serviceOrderDetailNum;

    /**
     * 服务单价
     */
    private BigDecimal serviceOrderDetailPrice;

    /**
     * 服务小计
     */
    private BigDecimal serviceOrderDetailTotal;

    /**
     * 服务项目名字
     */
    private String serviceOrderDetailServiceName;

    /**
     * 服务订单状态 0:已消费  1:未消费  2:待验收
     */
    private Integer serviceOrderDetailStatus;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录新增时间
     */
    private Date rawUpdateTime;


}
